<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: nc::boostPythonInterface::BoostNdarrayHelper&lt; dtype &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">2.3.1</span>
   </div>
   <div id="projectbrief">A Templatized Header Only C++ Implementation of the Python NumPy Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">nc::boostPythonInterface::BoostNdarrayHelper&lt; dtype &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Helper class for ndarray.  
 <a href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_boost_numpy_ndarray_helper_8hpp_source.html">BoostNumpyNdarrayHelper.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a6f7c27e9f931e541dc034cd7fe9c3311"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311">Order</a> { <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311a800618943025315f869e4e1f09471012">Order::F</a>, 
<a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311a0d61f8370cad1d412f80b84d143e1257">Order::C</a>
 }</td></tr>
<tr class="memdesc:a6f7c27e9f931e541dc034cd7fe9c3311"><td class="mdescLeft">&#160;</td><td class="mdescRight">C or Fortran ordering from python.  <a href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311">More...</a><br /></td></tr>
<tr class="separator:a6f7c27e9f931e541dc034cd7fe9c3311"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a649930af85396c05d2f3ccb528d4eb24"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a649930af85396c05d2f3ccb528d4eb24">BoostNdarrayHelper</a> (boost::python::tuple inShape)</td></tr>
<tr class="separator:a649930af85396c05d2f3ccb528d4eb24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece0d05bbeaa992eb105dddafe11d3d6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#aece0d05bbeaa992eb105dddafe11d3d6">BoostNdarrayHelper</a> (const boost::python::numpy::ndarray &amp;inArray)</td></tr>
<tr class="separator:aece0d05bbeaa992eb105dddafe11d3d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a6c3bfdab008b433ba0dae0689ee1fa"><td class="memItemLeft" align="right" valign="top">const boost::python::numpy::ndarray &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a0a6c3bfdab008b433ba0dae0689ee1fa">getArray</a> () noexcept</td></tr>
<tr class="separator:a0a6c3bfdab008b433ba0dae0689ee1fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6939e6397314b48817c1ab6352a60f85"><td class="memItemLeft" align="right" valign="top">boost::python::numpy::matrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6939e6397314b48817c1ab6352a60f85">getArrayAsMatrix</a> ()</td></tr>
<tr class="separator:a6939e6397314b48817c1ab6352a60f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73b77718d65b0531030c795bcc6fe7e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#a9ba5a0aa26753a185985b8273fb9062d">uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a73b77718d65b0531030c795bcc6fe7e4">numDimensions</a> () noexcept</td></tr>
<tr class="separator:a73b77718d65b0531030c795bcc6fe7e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fcb5d4d25c201c4ce3f6ce2046bfe13"><td class="memItemLeft" align="right" valign="top">dtype &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a8fcb5d4d25c201c4ce3f6ce2046bfe13">operator()</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> index)</td></tr>
<tr class="separator:a8fcb5d4d25c201c4ce3f6ce2046bfe13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f34c08ee8ca4784eeb962f2b46d7854"><td class="memItemLeft" align="right" valign="top">dtype &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a7f34c08ee8ca4784eeb962f2b46d7854">operator()</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> index1, <a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> index2)</td></tr>
<tr class="separator:a7f34c08ee8ca4784eeb962f2b46d7854"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7b0fe82186d55265ec4c247d79ea9a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311">Order</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#ab7b0fe82186d55265ec4c247d79ea9a8">order</a> ()</td></tr>
<tr class="separator:ab7b0fe82186d55265ec4c247d79ea9a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf45376090a7da0f19d2a147b2179876"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#acf45376090a7da0f19d2a147b2179876">printArray1D</a> ()</td></tr>
<tr class="separator:acf45376090a7da0f19d2a147b2179876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be5909afba38304055c66a1450be791"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a3be5909afba38304055c66a1450be791">printArray2D</a> ()</td></tr>
<tr class="separator:a3be5909afba38304055c66a1450be791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bc1683f38f594bae02c4eb4795a9aab"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; Py_intptr_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a3bc1683f38f594bae02c4eb4795a9aab">shape</a> () noexcept</td></tr>
<tr class="separator:a3bc1683f38f594bae02c4eb4795a9aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c69ec13dae8782be1cf4da41c277c01"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a0c69ec13dae8782be1cf4da41c277c01">shapeEqual</a> (<a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">BoostNdarrayHelper</a> &amp;otherNdarrayHelper)</td></tr>
<tr class="separator:a0c69ec13dae8782be1cf4da41c277c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4fe82faa11df5734d746600cfba7149"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#ac4fe82faa11df5734d746600cfba7149">size</a> ()</td></tr>
<tr class="separator:ac4fe82faa11df5734d746600cfba7149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf8c517c524c3e9ff5a999d266ca84f4"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; <a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#aaf8c517c524c3e9ff5a999d266ca84f4">strides</a> ()</td></tr>
<tr class="separator:aaf8c517c524c3e9ff5a999d266ca84f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename dtype&gt;<br />
class nc::boostPythonInterface::BoostNdarrayHelper&lt; dtype &gt;</h3>

<p>Helper class for ndarray. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a6f7c27e9f931e541dc034cd7fe9c3311"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f7c27e9f931e541dc034cd7fe9c3311">&#9670;&nbsp;</a></span>Order</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311">nc::boostPythonInterface::BoostNdarrayHelper::Order</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>C or Fortran ordering from python. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6f7c27e9f931e541dc034cd7fe9c3311a800618943025315f869e4e1f09471012"></a>F&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a6f7c27e9f931e541dc034cd7fe9c3311a0d61f8370cad1d412f80b84d143e1257"></a>C&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aece0d05bbeaa992eb105dddafe11d3d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aece0d05bbeaa992eb105dddafe11d3d6">&#9670;&nbsp;</a></span>BoostNdarrayHelper() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">BoostNdarrayHelper</a> </td>
          <td>(</td>
          <td class="paramtype">const boost::python::numpy::ndarray &amp;&#160;</td>
          <td class="paramname"><em>inArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td>ndarray </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a649930af85396c05d2f3ccb528d4eb24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a649930af85396c05d2f3ccb528d4eb24">&#9670;&nbsp;</a></span>BoostNdarrayHelper() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">BoostNdarrayHelper</a> </td>
          <td>(</td>
          <td class="paramtype">boost::python::tuple&#160;</td>
          <td class="paramname"><em>inShape</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0a6c3bfdab008b433ba0dae0689ee1fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a6c3bfdab008b433ba0dae0689ee1fa">&#9670;&nbsp;</a></span>getArray()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const boost::python::numpy::ndarray&amp; <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::getArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the internaly held ndarray</p>
<dl class="section return"><dt>Returns</dt><dd>reference to the held ndarray </dd></dl>

</div>
</div>
<a id="a6939e6397314b48817c1ab6352a60f85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6939e6397314b48817c1ab6352a60f85">&#9670;&nbsp;</a></span>getArrayAsMatrix()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::python::numpy::matrix <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::getArrayAsMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the internaly held ndarray as a numpy matrix</p>
<dl class="section return"><dt>Returns</dt><dd>matrix </dd></dl>

</div>
</div>
<a id="a73b77718d65b0531030c795bcc6fe7e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73b77718d65b0531030c795bcc6fe7e4">&#9670;&nbsp;</a></span>numDimensions()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#a9ba5a0aa26753a185985b8273fb9062d">uint8</a> <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::numDimensions </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the number of dimensions of the array</p>
<dl class="section return"><dt>Returns</dt><dd>num dimensions </dd></dl>

</div>
</div>
<a id="a8fcb5d4d25c201c4ce3f6ce2046bfe13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fcb5d4d25c201c4ce3f6ce2046bfe13">&#9670;&nbsp;</a></span>operator()() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">dtype&amp; <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>1D access operator</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>dtype </dd></dl>

</div>
</div>
<a id="a7f34c08ee8ca4784eeb962f2b46d7854"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f34c08ee8ca4784eeb962f2b46d7854">&#9670;&nbsp;</a></span>operator()() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">dtype&amp; <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>index1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>index2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>2D access operator</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">index1</td><td></td></tr>
    <tr><td class="paramname">index2</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>dtype </dd></dl>

</div>
</div>
<a id="ab7b0fe82186d55265ec4c247d79ea9a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7b0fe82186d55265ec4c247d79ea9a8">&#9670;&nbsp;</a></span>order()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html#a6f7c27e9f931e541dc034cd7fe9c3311">Order</a> <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::order </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the memory order of the array (C or Fortran)</p>
<dl class="section return"><dt>Returns</dt><dd>Order </dd></dl>

</div>
</div>
<a id="acf45376090a7da0f19d2a147b2179876"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf45376090a7da0f19d2a147b2179876">&#9670;&nbsp;</a></span>printArray1D()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::printArray1D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Prints a 1D array </p>

</div>
</div>
<a id="a3be5909afba38304055c66a1450be791"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3be5909afba38304055c66a1450be791">&#9670;&nbsp;</a></span>printArray2D()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::printArray2D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Prints a 2D array </p>

</div>
</div>
<a id="a3bc1683f38f594bae02c4eb4795a9aab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc1683f38f594bae02c4eb4795a9aab">&#9670;&nbsp;</a></span>shape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::vector&lt;Py_intptr_t&gt;&amp; <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::shape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the shape of the array</p>
<dl class="section return"><dt>Returns</dt><dd>vector </dd></dl>

</div>
</div>
<a id="a0c69ec13dae8782be1cf4da41c277c01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c69ec13dae8782be1cf4da41c277c01">&#9670;&nbsp;</a></span>shapeEqual()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::shapeEqual </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">BoostNdarrayHelper</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>otherNdarrayHelper</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns if the shapes of the two array helpers are equal</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">otherNdarrayHelper</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>boolean </dd></dl>

</div>
</div>
<a id="ac4fe82faa11df5734d746600cfba7149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4fe82faa11df5734d746600cfba7149">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the array</p>
<dl class="section return"><dt>Returns</dt><dd>size </dd></dl>

</div>
</div>
<a id="aaf8c517c524c3e9ff5a999d266ca84f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf8c517c524c3e9ff5a999d266ca84f4">&#9670;&nbsp;</a></span>strides()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::vector&lt;<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&gt;&amp; <a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">nc::boostPythonInterface::BoostNdarrayHelper</a>&lt; dtype &gt;::strides </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the strides of the array</p>
<dl class="section return"><dt>Returns</dt><dd>vector </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_boost_numpy_ndarray_helper_8hpp_source.html">BoostNumpyNdarrayHelper.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenc.html">nc</a></li><li class="navelem"><a class="el" href="namespacenc_1_1boost_python_interface.html">boostPythonInterface</a></li><li class="navelem"><a class="el" href="classnc_1_1boost_python_interface_1_1_boost_ndarray_helper.html">BoostNdarrayHelper</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
